<div class="grid-wrap">
    <table data-id="grid"></table>
</div>
<div data-id="nsdb" class="nsdb">
    <%--<shiro:hasPermission name="message:data:add">--%>
    <a data-href="${pageContext.request.contextPath}/app/api/message/postIndex"
       data-target="link" data-key="viewPost" data-options="iconCls:'fa fa-table fa-lg'" plain="true">
        查看我发送的消息
    </a>
    <a data-href="${pageContext.request.contextPath}/app/api/message/toAdd" data-key="add"
       data-options="iconCls:'fa fa-plus fa-lg'" plain="true">发送消息</a>
    <%--</shiro:hasPermission>--%>
    <a data-href="${pageContext.request.contextPath}/app/api/receiver/readMessage" data-key="sign"
       data-options="iconCls:'fa fa-tag fa-lg'" plain="true">标记为已读</a>
    <a data-href="${pageContext.request.contextPath}/app/api/message/deleteMessages" data-key="del" data-options="iconCls:'fa fa-trash fa-lg'" plain="true">删除消息</a>
    <a data-href="${pageContext.request.contextPath}/app/api/message/toSearch" data-key="search" iconCls="fa fa-search fa-lg" plain="true">搜索</a>
    <a data-href="#" data-key="search_all" iconCls="fa fa-refresh fa-lg" plain="true">搜索全部</a>
</div>
<div data-id="template">
    <a data-href='${pageContext.request.contextPath}/app/api/message/toAdd' data-id="{{id}}" data-key="reply" iconCls="fa fa-reply fa-lg" plain="true">回复</a>
    <a data-href='#' data-id="{{id}}" data-key="view" iconCls="fa fa-eye fa-lg" plain="true">查看</a>
</div>